using Net35.Xrm.Sdk.Metadata;
using System;
using System.Runtime.Serialization;
namespace Net35.Xrm.Sdk
{
	[DataContract(Name = "LocalizedLabel", Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed class LocalizedLabel : MetadataBase
	{
		private string _label;
		private int _languageCode;
		private bool? _isManaged;
		[DataMember]
		public string Label
		{
			get
			{
				return this._label;
			}
			set
			{
				this._label = value;
			}
		}
		[DataMember]
		public int LanguageCode
		{
			get
			{
				return this._languageCode;
			}
			set
			{
				this._languageCode = value;
			}
		}
		[DataMember]
		public bool? IsManaged
		{
			get
			{
				return this._isManaged;
			}
			internal set
			{
				this._isManaged = value;
			}
		}
		public LocalizedLabel()
		{
		}
		public LocalizedLabel(string label, int languageCode)
		{
			this.Label = label;
			this.LanguageCode = languageCode;
		}
	}
}
